package org.xb.CoffeeDecorator;

/**
 * @Author
 * @Description
 * @Date created in 10:16 2023/12/7
 */
public class CoffeeDecorator implements Coffee{
    protected Coffee coffee;

    public void setCoffee(Coffee coffee) {
        this.coffee = coffee;
    }

    @Override
    public int cost() {
        return coffee.cost();
    }
}
